import request from '@/utils/request'

// 查询导航音频提示列表
export function listNaviAudio(query) {
  return request({
    url: '/map/naviAudio/list',
    method: 'get',
    params: query
  })
}

// 查询导航音频提示详细
export function getNaviAudio(naviAudioId) {
  return request({
    url: '/map/naviAudio/' + naviAudioId,
    method: 'get'
  })
}

// 新增导航音频提示
export function addNaviAudio(data) {
  return request({
    url: '/map/naviAudio',
    method: 'post',
    data: data
  })
}

// 修改导航音频提示
export function updateNaviAudio(data) {
  return request({
    url: '/map/naviAudio',
    method: 'put',
    data: data
  })
}

// 删除导航音频提示
export function delNaviAudio(naviAudioId) {
  return request({
    url: '/map/naviAudio/' + naviAudioId,
    method: 'delete'
  })
}
